/*
 * @Author: 肖思汗 
 * @Date: 2025-06-09 17:12:53 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-08-26 15:12:58
 */
import Api from '../../api/Api';

class UserApi extends Api {

    constructor() {
        super();
    }

    // 微信授权登录
    wxLogin(code: string) {
        return this._get('/wx/getToken', { code });
    }

    // 获取用户订单状态数量
    getOrderStatusStatistics() {
        return this._get("/productOrder/getOrderStatusStatistics");
    }


}

const userApi = new UserApi();

export default userApi;
